 <?php
 require_once ("include/header.php");

?>
  <div id="Content">
      <br/><br/><br/>
      <?php
      if($update=='store'){
      
       
        
     
         echo ' <div class="fieldset"style="margin-top:5px;	margin-left:350px;color: #000; width: 400px; height: auto;">
          <form id="msform" action='.'createStoreControler.php'.' method="post" enctype="multipart/form-data">
          		<h2 class="fs-title">EDIT STORE </h2><br /><br />
                        <input type="text" placeholder=" Store Name"name="storeName" value="'.$name.'"><br>
  <input type="text" placeholder=" Location"name="location" value="'.$location.'"><br>
<input type="text" placeholder="  Store phone"name="storephone" value="'.$phone.'"><br />
    <div>
        <img width="100" height="100" src="'.$image.'"></img>
        <input  type="file" placeholder=" IMAGE" name="image" value=""><br>
            </div>
            <input type="submit" name="saveST" value="SAVE">
         </form>';
        }  
        
      else if($update=='product'){
      
            echo ' <form id="msform" action="addProductControler.php" method="POST" enctype="multipart/form-data">
        		<h2 class="fs-title">Add Product TO Your Store</h2>
<select class="required"placeholder="Category" name="category" value="'.$category.'">
         <option selected>pants
         <option>shoes
         <option>t-shirts
         <option>boxers
         <option>accessories
    </select>
	<br/>
        <input type="hidden"    name="proID" value="'.$proID.'"><br>

<input type="text"  placeholder="Size " name="size" value="'.$size.'"><br>
<input type="text" placeholder="Price "name="price" value="'.$price.'"><br/>
<input type="number" placeholder="Quantity"name="quantity" value="'.$quantity.'">
        <img width="100" height="100" src="'.$image.'"></img>

<input type="file" placeholder=" IMAGE "name="image" value=""><br><br>
    <input type="submit" name="savePRO" value="save">
</form>';
      }
        ?>
       </div>
  <br/>
 
  <!-- End Contant Div--></div>
  <?php
  require_once("include/SideBar.php");
   require_once ("include/Footer.php");
   ?>